<?php
	class news_edt_viewModel extends viewModel{
		public $table='news';
		public $view = array(
					'news_data'=>array(
							'join_type'=>'inner',
							'on'=>'news.id = news_data.nid',
						),
					'attrrelation'=>array(
							'join_type'=>'inner',
							'on'=>'news.id = attrrelation.nid',
						),
				);
	}

?>